package com.sh.data.engine.application.model.dto.workspace;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema
public class ProjectStatisticDTO {

    @Schema(description = "id")
    private Long id;

    @Schema(description = "空间名")
    private String projectName;

    @Schema(description = "空间描述")
    private String description;

    @Schema(description = "空间id")
    private Long projectId;

    @Schema(description = "已创建api数量")
    private Long apiNum;

    @Schema(description = "数据开发任务数量")
    private Long developTaskNum;

    @Schema(description = "已创建指标数量")
    private Long indexNum;

    @Schema(description = "数据集成任务数量")
    private Long integrateTaskNum;

    @Schema(description = "已注册数据源数量")
    private Long registerDsNum;

    @Schema(description = "已创建数据表数量")
    private Long tableNum;

    @Schema(description = "成员数量数量")
    private Long userNum;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd hh:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;

}

